package cn.blackhole.simple.domain.Metric.model.entity;

import cn.blackhole.simple.common.enums.InterfaceType;
import cn.blackhole.simple.domain.Metric.model.objValue.MetricType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.Map;

// 指标数据对象
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MetricData {
    private String serviceName;
    private InterfaceType interfaceType;
    private MetricType metricType;
    private double value;
    private Map<String, String> tags = new HashMap<>();

    public MetricData(String http, InterfaceType type, MetricType metricType, long durationMs) {

    }
}
